<!-- News.html -->
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
		<meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
		<title>教师端实习窗口</title>
		<link rel="stylesheet" type="text/css" href="../../css/mui.min.css">
		<link rel="stylesheet" type="text/css" href="../../css/base.css"/>
		<link rel="stylesheet" href="../../css/CFNetPP_Base.css">
		<link rel="stylesheet" type="text/css" href="../../css/study.css" />
		<link rel="stylesheet" type="text/css" href="../../css/aui.css" />
		<link rel="stylesheet" type="text/css" href="../../css/style.css" />
	</head>
	<body>
		<div class="base_navigation_bar base_style_color base_navigation_item_bar">
			<a class="base_left_item" href="#" onclick="backIndex()"> <img class="base_back_icon" src="../../image/icon_jiantou.png" alt=""> </a>
			<span>实习</span>
			<a class="base_right_item base_hide_item"> </a>
		</div>
	</body>
	<script src="../../script/jquery.min.js" type="text/javascript"></script>
	<script type="text/javascript" src="../../script/api.js"></script>
	<script type="text/javascript" src="../../script/common.js"></script>
	<script type="text/javascript" src="../../script/requestTool.js"></script>
	<script type="text/javascript">
		apiready = function() {
			if (api.pageParam.type != '0') {
				openframe();
			}
			setupNotifi();
		}
		function openframe() {
			var y = $('.base_navigation_bar').height();
			var h = api.winHeight - y - 52;
			api.openFrame({
				name : 'Teacher_Practice_HomePageFrame',
				url : 'Teacher_Practice_HomePageFrame.html',
				rect : {
					x : 0,
					y : y,
					w : 'auto',
					h : h
				},
				reload : true
			});
		}

		function setupNotifi() {
			api.addEventListener({
				name : 'showHomePageFrameNotifi'
			}, function(ret, err) {
				showHomeFrame();
			});
			api.addEventListener({
				name : 'hideHomePageFrameNotifi'
			}, function(ret, err) {
				hideHomeFrame();
			});
		}

		function showHomeFrame() {
			api.setFrameAttr({
				name : 'Teacher_Practice_HomePageFrame',
				hidden : false
			});
		}

		function hideHomeFrame() {
			api.setFrameAttr({
				name : 'Teacher_Practice_HomePageFrame',
				hidden : true
			});
		}
	</script>
</html>